Ext.define("App.order.view.OrderEditor", {
    extend: 'Extend.window.EditWindow',
    alias: 'widget.OrderEditor',
    config: {
        entity: 'entity',
        defaults: {
            columnWidth: 1
        },
        window: {
            title: '修改资源信息',
            width: 800,
            height: 500,
            resizable: false
        }
    },
    items: [{
        xtype: 'hidden',
        name: 'id'
    }, {
        xtype: 'textfield',
        name: 'number',
        fieldLabel: '单号',
        allowBlank: false,
        blankText: '单号为必填字段，不能为！',
        beforeLabelTextTpl: ['<span style="color:red;">*</span>']
    }, {
        xtype: 'numberfield',
        name: 'total',
        fieldLabel: '金额',
        allowBlank: false,
        blankText: '金额为必填字段，不能为！',
        beforeLabelTextTpl: ['<span style="color:red;">*</span>']
    }]
})
